package tictactoe.screens;

import java.awt.*;
import java.awt.Font.*;
import java.awt.event.*;
import javax.swing.*;

import tictactoe.*;
import tictactoe.types.*;

/**
 *
 * @author Zero
 */
public abstract class MenuScreen extends JPanel{
    //Containing Class
    protected TicTacToe ttt;

    /**
     * Changes the current screen to screen.
     * @param screen A Screens enum value indicating the screen to change to.
     */
    public void ChangeScreen(Screens screen)
    {
	if(ttt != null)
	{
	    ttt.ChangeScreen(screen);
	}
    }
}
